import { TaPost } from "../script/ajax";

// 商家接口
export const TaDataStore = {

	// 加载商家分类标签
	withCate(): Promise<any> {
		return TaPost('/shop/api.goods/cate')
	},

	// 加载商家列表
	withStore(data: any = {}): Promise<any> {
		return TaPost('/shop/api.auth.store/get', data)
	},
	// 加载商家详情
	withStoreInfo(data: any = {}): Promise<any> {
		return TaPost('/shop/api.auth.store/getInfo', data)
	},
};